package com.han.gift.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * (Permission)表实体类
 *
 * @author makejava
 * @since 2023-02-25 00:33:58
 */
@SuppressWarnings("serial")
@TableName("t_permission")
public class Permission extends Model<Permission> {


    @TableField("id")
    private Long id;


    @TableField("name")
    private String name;


    @TableField("resource")
    private String resource;


    @TableField("state")
    private Integer state;


    @TableField("menu_id")
    private Long menuId;


    @TableField("sn")
    private String sn;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getResource() {
        return resource;
    }

    public void setResource(String resource) {
        this.resource = resource;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getMenuId() {
        return menuId;
    }

    public void setMenuId(Long menuId) {
        this.menuId = menuId;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */

    }

